using System;
using System.Collections;

namespace InfoJetSoft.Service.Entity
{

	public class DataADOAdapter : DataAdapter, ICloneable
	{
		public string CommandText {
			get {
				return commandText;
			}
			
			set {
				this.commandText = value;
			}
		}

		public string ConnectionString {
			get {
				return connectionString;
			}
			
			set {
				this.connectionString = value;
			}
		}

		public string TableName {
			get {
				return tableName;
			}
			
			set {
				this.tableName = value;
			}
		}

		public bool QueryAllowed
		{
			get
			{
				return this.queryAllowed;
			}
			set
			{
				this.queryAllowed = value;
			}
		}

		public bool SubmitAllowed
		{
			get
			{
				return this.submitAllowed;
			}
			set
			{
				this.submitAllowed = value;
			}
		}

		public int Timeout
		{
			get
			{
				return this.timeout;
			}
			set
			{
				this.timeout = value;
			}
		}

		public ArrayList DBSelectCommandList
		{
			get
			{
				return this.dbSelectCommandList;
			}
			set
			{
				this.dbSelectCommandList = value;
			}
		}

		private string commandText = null;
		private string connectionString = null;
		private string tableName = null;
		private bool queryAllowed = false;
		private bool submitAllowed = false;
		private int timeout = 0;
		private ArrayList dbSelectCommandList = null;

		public Object Clone()
		{
			return this.MemberwiseClone();
		}

	}
}
